local M = {}

---! 设置初始道具
function M:init_item()
    return ITEM_D:init_item_info(self)
end

---! 增加道具
function M:add_prop(propId, reverse)
    return INVENTORY_D:add_prop(self, propId, reverse)
end

---! 获取道具
function M:get_props()
    return INVENTORY_D:query_inventory(self)
end

--获取道具
function M:query_trump()
    return INVENTORY_D:query_trump(self)
end

--增加道具
function M:add_trump(trumpid)
    return INVENTORY_D:add_trump(self, trumpid)
end

--消耗道具
function M:use_trump(pops)
    return INVENTORY_D:use_trump(self, pops)
end

---! 增加货币
function M:add_currency(propId, propCount)
    return INVENTORY_D:add_currency(self, propId, propCount)
end

---! 扣除货币
function M:cost_currency(propId, propCount)
    return INVENTORY_D:cost_currency(self, propId, propCount)
end

---! 获取货币
function M:get_currency(propId)
    return INVENTORY_D:get_currency(self, propId)
end

---! 修改货币
function M:change_currency(propId, propCount)
    return INVENTORY_D:change_currency(self, propId, propCount)
end

F_CHAR_ITEM = M
